﻿@{
    ViewBag.Title = "Import Result";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
<div class="site_map">
    @Html.ActionLink("Home", "Index", "Home")
    / @Html.ActionLink("Subjects", "Index", "Subject")
    / @Html.ActionLink((string)ViewBag.Subject.Code, "Details", "Subject", new { id = ViewBag.Subject.SubjectId }, null)
    /
    @if (@ViewBag.Section != null)
    {
        @Html.ActionLink("Sections", "Index", "Section", new { subjectId = @ViewBag.Subject.SubjectId }, null)
        <span>/</span>
        <span style="word-wrap: break-word">
            @Html.ActionLink((string)@ViewBag.Section.Name, "Index", "Question", new { subjectId = @ViewBag.Subject.SubjectId, sectionId = @ViewBag.Section.SectionId }, null)
        </span>
        <input type="hidden" name="import" value="@ViewBag.Section.SectionId"/>
    }
    else
    {
        @Html.ActionLink("Questions", "Index", "Question", new { subjectId = @ViewBag.Subject.SubjectId }, null)
        <input type="hidden" name="import" value="0"/>
    }
    / Import Result
</div>
<br />
 <div class="main_nav">
    <span>
        <a href="@Url.Content("~/Question/Import/")@ViewBag.Subject.SubjectId">
            <img src="@Url.Content("~/Images/back button.png")" alt="Back"/>
        </a>
    </span>
</div>
<br />
<div id="unobtrusive">
    @Html.Partial("_List")
</div>